package com.hr.feign.user;

import com.hr.entity.AoaNoticeList;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * AoaNoticeList表的feign
 */
@FeignClient(value = "oa-core",contextId = "4001")
public interface AoaNoticeListFeignService {

    /**
     * 公告查询
     * 三表联查，aoa_notice_list，aoa_user，aoa_dept，公告页面
     * @return
     */
    @GetMapping("/aoaNoticeList/queryListAll")
    public List<AoaNoticeList> queryListAll();
}
